Hello, |
Re: Kickoff users automaticly
I think you need to do something like:
LockList llist = null
listOfLocks = getLocksInDatabase(true)
// or
// Folder f = folder "/my/folder/somewhere"
// listOfLocks = getLocksInFolder(f,true,true)
Lock L
for L in llist do {
int mode = theLock.lockMode
string user = theLock.user
string host = theLock.host
Date ldate = theLock.date
string annotation = theLock.annotation
string itemName = theLock.resourceName
Item theItem = theLock.item
print "Bye " user "!"
remove L
}
Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS
|